package org.siqisource.webstart.core.widgets.tree.model;

import java.util.Map;

public class TreeNode {
	
	/** 节点id */
	Integer id;
	
	/** 父节点Id */
	Integer parentId;
	
	/** 节点名称*/
	String name;
	
	/** 是否叶子节点 */
	Boolean isLeaf;
	
	/** 顺序号 */
	Integer sortNo;
	
	/** 全路径 */
	String fullPath;
	
	/** 其它数据(使用Map方式存储) */
	Map<String,Object> otherData;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Boolean getIsLeaf() {
		return isLeaf;
	}

	public void setIsLeaf(Boolean isLeaf) {
		this.isLeaf = isLeaf;
	}

	public Integer getSortNo() {
		return sortNo;
	}

	public void setSortNo(Integer sortNo) {
		this.sortNo = sortNo;
	}

	public String getFullPath() {
		return fullPath;
	}

	public void setFullPath(String fullPath) {
		this.fullPath = fullPath;
	}

	public Map<String, Object> getOtherData() {
		return otherData;
	}

	public void setOtherData(Map<String, Object> otherData) {
		this.otherData = otherData;
	}
	
	

}
